/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.basicdata.basicunit.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 基础单位信息Entity
 * @author 刘明星
 * @version 2021-11-18
 */
@Data
public class BasicUnit extends DataEntity<BasicUnit> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="单位名称", align=2, sort=1)
	private String unitName;		// 单位名称
	@ExcelField(title="领导职数", align=2, sort=2)
	private String leaderNumber;		// 领导职数
	@ExcelField(title="机构级别", align=2, sort=3)
	private String unitLevel;		// 机构级别
	@ExcelField(title="单位编码", align=2, sort=4)
	private String unitCode;		// 单位编码
	@ExcelField(title="排序", align=2, sort=5)
	private String sort;		// 排序
	private List<BasicUnitDepart> basicUnitDepartList = Lists.newArrayList();		// 子表列表
	
	public BasicUnit() {
		super();
	}

	public BasicUnit(String id){
		super(id);
	}
}